/*
 * @Author: White
 * @description: 入口文件
 * @LastEditTime: 2021-07-03 00:54:00
 */

import Vue from 'vue'
import App from './App.vue'
import Vant from 'vant';
import VueRouter from 'vue-router'
import router from './router/index'
import axios from 'axios'

// 插件
import { Lazyload } from 'vant';
import { Toast } from 'vant';
import 'amfe-flexible/index.js'

// 样式
import './style/base.css'
import 'vant/lib/index.css';

Vue.use(Vant);
Vue.use(VueRouter);

// 注册时可以配置额外的选项
Vue.use(Lazyload, {
  lazyComponent: true,
});
Vue.use(Toast);


Vue.config.productionTip = false
Vue.prototype.$axios = axios

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
